<script setup lang="ts">
import IComponent from '@/components/IComponent.vue'
import { useCounterStore } from '@/stores/counter'

const counterStore = useCounterStore()
</script>

<template>
  <main>
    <h1>Pinia count: {{ counterStore.count }}</h1>
    <h1>Remote Component A</h1>
    <IComponent remoteName="remote-a" componentName="Button" />
    <IComponent remoteName="remote-a" componentName="BarChart" />
  </main>
</template>
